import java.util.Arrays;

/**
 * Version: 1.1
 * Author: TangJun
 * Date: 2024-07-14
 */
public class Main {
    public Main(){
        System.out.println("构造方法");
    }
    public static void main2(String[] args) {
        test.Main2 val = new test.Main2();
        val.c = 10;
        System.out.println(val.c);
    }

    {
        System.out.println("实例代码块");
    }

    static {
        System.out.println("静态代码块");
    }
   public static void main(String[] args) {
//        test.DogDefine a = new test.DogDefine();
//        a.name = "张三";
//        System.out.println(a.name);
       Main a = new Main();

   }
}
